<?php
/**
 * Created by PhpStorm.
 * User: coffee
 * Date: 2017/12/29
 * Time: 下午6:03
 */

namespace App\Exceptions;
use Symfony\Component\HttpKernel\Exception\HttpException;

class EventAppliedException extends HttpException
{
    protected $message = '您已提交过收件信息';
    protected $code = 'event.applied';

    public function __construct()
    {
        parent::__construct(400, $this->message);
    }
}